package com.wy.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 33117
 * @version 1.0
 * @data 2025/3/1 16:13
 */
@Data
@TableName("user")
@JsonInclude(JsonInclude.Include.NON_ABSENT)
public class User {
    private Integer id;
    private String name;
    private Integer age;
    @JsonFormat(timezone = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(timezone = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
